package com.voler.bsdiffpatch;

public class DiffPatchUtil {
    static {
        System.loadLibrary("bsdiffpatch");
    }

    /**
     * 执行patch合并
     *
     * @param oldFilePath 旧apk 路径
     * @param newFilePath 新apk路径
     * @param patchPath   补丁路径
     * @return 是否成功 0 成功
     */
    public static native int patch(String oldFilePath, String newFilePath, String patchPath);
}
